package com.rykj.qxj.server.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.rykj.qxj.server.common.ZmanagerBaseMapper;
import com.rykj.qxj.server.model.entity.ApiAbilityStatistics;

public interface ApiAbilityStatisticsMapper extends ZmanagerBaseMapper<ApiAbilityStatistics> {

	List<ApiAbilityStatistics> selectApiAbilityStatisticsList(Map<String, Object> paramMap);
	
	List<Map<String,Object>> selectApiVisitCountList(Map<String,Object> paramMap);
	
	List<Map<String,Object>> selectApplicationInvocationApiCountDay(String date);
	List<Map<String,Object>> selectApplicationInvocationApiCountMonth(String date);
	List<Map<String,Object>> selectApplicationInvocationApiCountYear(String date);

	//List<Map<String, Object>> selectApiInvocationCountTop5Day(String date);
	//List<Map<String, Object>> selectApiInvocationCountTop5Month(String date);
	//List<Map<String, Object>> selectApiInvocationCountTop5Year(String date);
	List<Map<String, Object>> selectApiInvocationCountTop5Day();
	
	List<Map<String,Object>> selectApiAbilityStatisticsListByAppKeyAndType(Map<String, Object> paramMap);
	
	List<Map<String,Object>> selectApiCountListByAppKeyAndType(Map<String, Object> paramMap);
	List<Map<String,Object>> selectBrowserCountListByAppKeyAndType(Map<String, Object> paramMap);


}
